package com.example.hospital.api.service;

import com.example.hospital.api.common.PageUtils;
import com.example.hospital.api.db.pojo.MedicalDeptSubEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.Map;

public interface MedicalDeptSubService {
    public PageUtils searchByPage(Map param);

    @Transactional
    void insert(MedicalDeptSubEntity entity);
    public HashMap searchById(int id);
    public void update(MedicalDeptSubEntity entity);

    @Transactional
    void deleteByIds(Integer[] ids);
}
